foreach sh bash bash Source https://stackoverflow.com/a/65086817/12780516 git uses /bin/sh, so we simply need to link this to our desired shell (e.g., bash) sudo ln -sf bash /bin/sh